.class public Lcom/instagram/android/x/t;
.super Ljava/lang/Object;
.source "DialogNavigator.java"


# instance fields
.field private final a:Landroid/support/v4/app/r;

.field private b:Landroid/support/v4/app/f;

.field private c:Landroid/os/Bundle;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/support/v4/app/r;)V
    .locals 1
    .parameter

    .prologue
    .line 31
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 28
    const-string v0, "dialog"

    iput-object v0, p0, Lcom/instagram/android/x/t;->d:Ljava/lang/String;

    .line 32
    iput-object p1, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    .line 33
    return-void
.end method


# virtual methods
.method public a(Landroid/support/v4/app/f;)Lcom/instagram/android/x/t;
    .locals 0
    .parameter

    .prologue
    .line 64
    iput-object p1, p0, Lcom/instagram/android/x/t;->b:Landroid/support/v4/app/f;

    .line 65
    return-object p0
.end method

.method public a(Landroid/support/v4/app/f;Landroid/os/Bundle;)Lcom/instagram/android/x/t;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 72
    iput-object p1, p0, Lcom/instagram/android/x/t;->b:Landroid/support/v4/app/f;

    .line 73
    iput-object p2, p0, Lcom/instagram/android/x/t;->c:Landroid/os/Bundle;

    .line 74
    return-object p0
.end method

.method public a()V
    .locals 4

    .prologue
    .line 40
    iget-object v0, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    sget v1, Lcom/facebook/aw;->layout_container_main:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    .line 41
    instance-of v1, v0, Lcom/instagram/b/d;

    if-eqz v1, :cond_0

    .line 42
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v1

    check-cast v0, Lcom/instagram/b/d;

    iget-object v2, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    invoke-virtual {v2}, Landroid/support/v4/app/r;->f()I

    move-result v2

    iget-object v3, p0, Lcom/instagram/android/x/t;->e:Ljava/lang/String;

    invoke-interface {v1, v0, v2, v3}, Lcom/instagram/b/c;->a(Lcom/instagram/b/d;ILjava/lang/String;)V

    .line 47
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/x/t;->c:Landroid/os/Bundle;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/instagram/android/x/t;->c:Landroid/os/Bundle;

    invoke-virtual {v0}, Landroid/os/Bundle;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    .line 48
    iget-object v0, p0, Lcom/instagram/android/x/t;->b:Landroid/support/v4/app/f;

    iget-object v1, p0, Lcom/instagram/android/x/t;->c:Landroid/os/Bundle;

    invoke-virtual {v0, v1}, Landroid/support/v4/app/f;->g(Landroid/os/Bundle;)V

    .line 52
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    iget-object v1, p0, Lcom/instagram/android/x/t;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(Ljava/lang/String;)Landroid/support/v4/app/Fragment;

    move-result-object v0

    .line 53
    if-eqz v0, :cond_2

    .line 54
    iget-object v1, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    invoke-virtual {v1}, Landroid/support/v4/app/r;->a()Landroid/support/v4/app/af;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/support/v4/app/af;->a(Landroid/support/v4/app/Fragment;)Landroid/support/v4/app/af;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/af;->a()I

    .line 55
    iget-object v0, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    invoke-virtual {v0}, Landroid/support/v4/app/r;->b()Z

    .line 57
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/x/t;->b:Landroid/support/v4/app/f;

    iget-object v1, p0, Lcom/instagram/android/x/t;->a:Landroid/support/v4/app/r;

    iget-object v2, p0, Lcom/instagram/android/x/t;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/f;->a(Landroid/support/v4/app/r;Ljava/lang/String;)V

    .line 58
    return-void
.end method
